.class public Lcom/instagram/android/y/a/a/a;
.super Lcom/instagram/android/d/k/d;
.source "UploadVideoRequest.java"


# instance fields
.field private final a:Lcom/instagram/pendingmedia/model/c;

.field private final b:Ljava/lang/String;

.field private final c:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lcom/instagram/pendingmedia/model/c;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 22
    invoke-direct {p0}, Lcom/instagram/android/d/k/d;-><init>()V

    .line 23
    iput-object p1, p0, Lcom/instagram/android/y/a/a/a;->a:Lcom/instagram/pendingmedia/model/c;

    .line 24
    iput-object p2, p0, Lcom/instagram/android/y/a/a/a;->b:Ljava/lang/String;

    .line 25
    iput-object p3, p0, Lcom/instagram/android/y/a/a/a;->c:Ljava/lang/String;

    .line 26
    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/d/b/a;
    .locals 1

    .prologue
    .line 30
    sget-object v0, Lcom/instagram/android/d/b/a;->a:Lcom/instagram/android/d/b/a;

    return-object v0
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .prologue
    .line 35
    iget-object v0, p0, Lcom/instagram/android/y/a/a/a;->b:Ljava/lang/String;

    return-object v0
.end method

.method public c()Lcom/instagram/android/d/b/c;
    .locals 4

    .prologue
    .line 40
    new-instance v1, Ljava/io/File;

    iget-object v0, p0, Lcom/instagram/android/y/a/a/a;->a:Lcom/instagram/pendingmedia/model/c;

    invoke-virtual {v0}, Lcom/instagram/pendingmedia/model/c;->r()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 41
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v0

    if-nez v0, :cond_0

    .line 42
    const-string v0, "UploadVideoRequest"

    const-string v1, "Could not open pending media for reading"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 43
    const/4 v0, 0x0

    .line 49
    :goto_0
    return-object v0

    .line 46
    :cond_0
    new-instance v0, Lcom/instagram/android/d/b/c;

    invoke-direct {v0}, Lcom/instagram/android/d/b/c;-><init>()V

    .line 47
    const-string v2, "job"

    iget-object v3, p0, Lcom/instagram/android/y/a/a/a;->c:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 48
    const-string v2, "video"

    invoke-virtual {v0, v2, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/io/File;)V

    goto :goto_0
.end method
